P+ - King Dedede - Common Subroutine 0x14b8c

  1. CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
  2. if (not(BoolIsTrue LongtermAccessBool(StaminaDead)))
    1. if (Unknown(72) value(6))
      1. UnknownEvent { namespace: 0x14, code: 0x6, unk1: 0x0, arguments: [Value(6), Bool(true)] }
    2. CreateInterrupt { interrupt_id: None, action: DownEat, requirement: (LightItemIsInGrabRange) }
    3. PreviousInterruptAddRequirement(CanPickupAnotherItem)
    4. PreviousInterruptAddRequirement(ItemOfTypeIsInGrabbingRange value(8192))
    5. PreviousInterruptAddRequirement(ButtonPress value(0))
    6. PreviousInterruptAddRequirement(OnGround)
    7. CreateInterrupt { interrupt_id: None, action: DownAttack, requirement: (ButtonPress value(0)) }
    8. PreviousInterruptAddRequirement(OnGround)
    9. Subroutine(0x80546ea8)
    10. CreateInterrupt { interrupt_id: None, action: DownForward, requirement: ((InternalConstantInt(ControlStickXAxisAbsolute) GreaterThanOrEqual InternalConstantInt (0xc6d))) }
    11. PreviousInterruptAddRequirement(StickDirectionPressed)
    12. PreviousInterruptAddRequirement(OnGround)
    13. CreateInterrupt { interrupt_id: None, action: DownStand, requirement: ((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual InternalConstantInt (0xc6c))) }
    14. PreviousInterruptAddRequirement(StickDirectionNotPressed)
    15. PreviousInterruptAddRequirement(OnGround)
    16. CreateInterrupt { interrupt_id: None, action: DownStand, requirement: ((RandomAccessFloat (0x9) LessThanOrEqual scalar(0))) }
    17. PreviousInterruptAddRequirement(OnGround)
    18. CallEveryFrame { thread_id: 9, script: 0x14a0c }